/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package cn.minsh.lims.eoms.modules.app.controller;

import org.apache.shiro.SecurityUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Controller公共组件
 *
 * @author Mark sunlightcs@gmail.com
 */
public abstract class AbstractController {
	/*protected Logger logger = LoggerFactory.getLogger(getClass());

	protected Object getUser() {
		return 1L ;//SecurityUtils.getSubject().getPrincipal();
	}

	protected Long getUserId() {
		if (getUser() == null){
			return null ;
		}
		return Long.valueOf(getUser().toString());
	}*/
}
